#实现整数a和b之间的加减乘除

def operation(a,b,operate):
    return operate(a,b)

# # 实现加法
# def add(a,b):
#     return a + b
# print(operation(3,4,add))

# # 实现减法
# def sub(a,b):
#     return a -b
# print(operation(6,4,sub))
#
#
# # 匿名函数
# print(operation(7,5, lambda a,b:a+b ))
# 实现乘法
def chengfa(a,b):
    return a*b


print(operation(5, 6, chengfa))
